package com.webchat.chat.service;
import com.webchat.chat.model.Role;
import com.webchat.chat.model.RolePermission;
import com.webchat.chat.core.Service;


/**
 * Created by admin on 2018-06-29.
 */
public interface RolePermissionService extends Service<RolePermission> {

    void updateRoleAndPermission(Role role, String[] permissionIds);

    void addRoleAndPermission(Role role, String[] permissionIds);
}
